cmake_minimum_required(VERSION 3.28.3)
project(luatest)
include_directories(include)
aux_source_directory(src SRC)
find_library(LUALIB lualib HINTS ${PROJECT_SOURCE_DIR}/lib)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
add_executable(luatest ${SRC})

target_link_libraries(luatest ${LUALIB})